package com.jic.manager.request;

import com.jic.common.base.vo.AdminOperate;
import com.jic.manager.request.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Setter
@Getter
public class MerchantRequest extends BaseEntity {
    //操作信息
    private AdminOperate adminOperate;
    //主键id
    private Long id;
    //商家id
    private Long parentId;
    //商家编码
    private String orgNumber;
    //帐号id
    private Long userId;
    //商家登录用户名
    private String userName;
    //商家名称
    private String name;
    //商家类型   1: 自营  2:第三方商户
    private String merchantType;
    //发票类型:0 都不支持 1 普票 2 增票 3 普票和增票
    private Integer invoiceType;
    //公司名称
    private String companyName;
    //法人姓名
    private String legalPersonName;
    //法人证件类型
    private String legalPersonType;
    //法人证件号码
    private String legalPersonIdNumber;
    //营业执照号码
    private String businessLicenseNumber;
    //公司类型   1: 民营  2:外资 3:合资 4:国企
    private String companyType;
    //经营范围
    private String businessScope;
    //business_start 营业期限
    private Date businessStart;
    //business_end 营业期限
    private Date businessEnd;
    //所属层级
    private String level;
    //组织机构代码
    private String organizationCode;
    //公司注册地址国家
    private String registeredCountryId;
    //公司注册地址省id
    private String registeredProvinceId;
    //公司注册地址市id
    private String registeredCityId;
    //公司注册地址区id
    private String registeredRegionId;
    //公司详细注册地址
    private String registeredDetailAddress;
    //公司注册资金
    private Integer registeredCapital;
    //公司总人数
    private Integer population;
    //公司入驻类型:1 普通商家 2 区域加盟商
    private Integer enterType;
    //联系人姓名
    private String contactName;
    //联系人手机
    private String contactMobile;
    //联系人固定电话
    private String contactTelephone;
    //联系人邮箱
    private String contactEmail;
    //联系人地址 省id
    private String contactAddressProvinceId;
    //联系人地址 市id
    private String contactAddressCityId;
    //联系人地址 区id
    private String contactAddressRegionId;
    //联系人详细地址
    private String contactAddressDetail;
    //商家入驻条款id
    private String entryTermsId;
    //微信公众号
    private String officialAccount;
    //资质证书id
    private String companyQualificationsId;
    //商品品牌id
    private String brandId;
    //类目id
    private String categoryId;
    //渠道id
    private String channelId;
    //账户类型 1,支付宝 2 微信 3 银行卡
    private String accountType;
    //支付宝账号
    private String alipayAccount;
    //微信账号
    private String wechatAccount;
    //账户名称
    private String accountName;
    //银行卡账号
    private String bankCardAccount;
    //开户银行
    private String bankAccount;
    //开户行网点
    private String bankAccountAddress;
    //发票抬头
    private String invoiceTitle;
    //注册地址省
    private String provinceCode;
    //注册地址市
    private String cityCode;
    //注册地址区（县）
    private String regionCode;
    //详细地址
    private String detailAddress;
    //联系电话
    private String registerPhone;
    //邮箱
    private String email;
    //纳税识别号
    private String taxpayerIdCode;
    //数据来源 1.入驻 2.运营添加
    private Integer dataSource;
    //1.入驻审核, 2.资料修改审核
    private Integer auditType;
    //保证金
    private BigDecimal guarantyMoney;
    //评分
    private Integer score;
    //客服电话
    private String customerServicePhone;
    //客服邮箱
    private String customerServiceEmail;
    //客服即时通讯账号
    private String customerServiceIm;
    // 是否接受平台所有商品1是 0 否
    private Integer isAccept;
    //运营方ID
    private Long deptId;
    //商家ID
    private Long merchantId;
    //店铺Id
    private Long storeId;
    //商家审核状态 1待审核 2:审核通过 3 : 审核拒绝
    private Integer status;
    //商家状态 1启用 0:停用
    private Long merchantStatus;
    //审核理由 (拒绝时必填)
    private String reviewReason;
    //创建时间
    private Date createTime;
    //创建人
    private Long creator;
    //修改时间
    private Date updateTime;
    //修改人
    private Long updator;
    //1 标识已删除 0 标识未删除
    private Long deleteFlag;


    /*资质文件List*/
    private List<CertificateRequest> mCertificateList;
    /*账号密码*/
    private String account;
    // 密码
    private String password;
    // 所属子平台ids
    private List<Long> childIds;

    // 所属子平台ids
    private Long childId;

    // 第三方商家编码
    private String thirdMerchantCode;

    // 适用范围 1商家 2店铺 3 未设置
    private Long scopeApplication;

    //适用范围是否已保存 1已保存 其他未保存
    private Long whetherApplication;

    private Long  roleId;

}
